Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Bridge::unique_ptr< T[]> Class Template Reference

#include <unique_pointer.h>

Public Types

typedef T * pointer
 
typedef T element_type
 

Public Member Functions

 unique_ptr (pointer p=pointer())
 
 ~unique_ptr ()
 
void reset (pointer p=pointer())
 
element_typeoperator[] (std::ptrdiff_t i) const
 
pointer get () const
 
 operator bool () const
 
void swap (unique_ptr &_u)
 

Private Types

typedef unique_ptr< T[]> this_type
 

Private Member Functions

 unique_ptr (unique_ptr const &)
 
unique_ptroperator= (unique_ptr const &)
 

Private Attributes

pointer _ptr
 

Detailed Description

template<typename T>
class Bridge::unique_ptr< T[]>

Definition at line 101 of file unique_pointer.h.

Member Typedef Documentation

template<typename T >
typedef T Bridge::unique_ptr< T[]>::element_type

Definition at line 105 of file unique_pointer.h.

template<typename T >
typedef T* Bridge::unique_ptr< T[]>::pointer

Definition at line 104 of file unique_pointer.h.

template<typename T >
typedef unique_ptr<T[]> Bridge::unique_ptr< T[]>::this_type
private

Definition at line 113 of file unique_pointer.h.

Constructor & Destructor Documentation

template<typename T >
Bridge::unique_ptr< T[]>::unique_ptr ( unique_ptr< T[]> const &  )
private
template<typename T >
Bridge::unique_ptr< T[]>::unique_ptr ( pointer  p = pointer())
inlineexplicit

Definition at line 118 of file unique_pointer.h.

template<typename T >
Bridge::unique_ptr< T[]>::~unique_ptr ( )
inline

Definition at line 120 of file unique_pointer.h.

Member Function Documentation

template<typename T >
pointer Bridge::unique_ptr< T[]>::get ( ) const
inline

Definition at line 139 of file unique_pointer.h.

template<typename T >
Bridge::unique_ptr< T[]>::operator bool ( ) const
inline

Definition at line 144 of file unique_pointer.h.

template<typename T >
unique_ptr& Bridge::unique_ptr< T[]>::operator= ( unique_ptr< T[]> const &  )
private
template<typename T >
element_type& Bridge::unique_ptr< T[]>::operator[] ( std::ptrdiff_t  i) const
inline

Definition at line 132 of file unique_pointer.h.

template<typename T >
void Bridge::unique_ptr< T[]>::reset ( pointer  p = pointer())
inline

Definition at line 126 of file unique_pointer.h.

template<typename T >
void Bridge::unique_ptr< T[]>::swap ( unique_ptr< T[]> &  _u)
inline

Definition at line 148 of file unique_pointer.h.

Member Data Documentation

template<typename T >
pointer Bridge::unique_ptr< T[]>::_ptr
private

Definition at line 108 of file unique_pointer.h.


The documentation for this class was generated from the following file: